Computation Time Comparison Between Matlab and C++ Using Launch Windows
نویسنده
چکیده
Processing speed between Matlab and C++ was compared by examining launch windows and handling large amounts of data found in pork chop plots. A compilation of code was generated in Matlab to produce the plots and an identical file was created in C++ that was then compiled and run in Matlab to plot the data. This file is known as a MEX-file. This report outlines some of the basics when working with MEX-files and the problems that face users. For Lambert’s solver, multi revolution cases were considered and some pork chop plots of single revolution trajectories were plotted. Three different date grids were plotted with different dimensions to determine the difference in processing speed of the two languages.
منابع مشابه
GENETIC ALGORITHM BASED EQUIPMENT SELECTION METHOD FOR CONSTRUCTION PROJECT USING MATLAB TOOL
Equipment selection is a key factor in modern construction industry. As it is a complex factor, current models offered by literatures fail to provide adequate solutions for major issues like systematic evaluation of soft factors and weighting of soft benefits in comparison with costs. This paper aims at making a comparative study between GA and AHP by utilising MATLAB as a tool. It is a conveni...
متن کاملModeling the Time Windows Vehicle Routing Problem in Cross-Docking Strategy Using Two Meta-Heuristic Algorithms
In cross docking strategy, arrived products are immediately classified, sorted and organized with respect to their destination. Among all the problems related to this strategy, the vehicle routing problem (VRP) is very important and of special attention in modern technology. This paper addresses the particular type of VRP, called VRPCDTW, considering a time limitation for each customer/retai...
متن کاملA Novel Ensemble Approach for Anomaly Detection in Wireless Sensor Networks Using Time-overlapped Sliding Windows
One of the most important issues concerning the sensor data in the Wireless Sensor Networks (WSNs) is the unexpected data which are acquired from the sensors. Today, there are numerous approaches for detecting anomalies in the WSNs, most of which are based on machine learning methods. In this research, we present a heuristic method based on the concept of “ensemble of classifiers” of data minin...
متن کاملScientific programming with Java classes supported with a scripting interpreter
The jLab environment provides a Matlab/Scilab like scripting language that is executed by an interpreter implemented in the Java language. This language supports all the basic programming constructs and an extensive set of built in mathematical routines that cover all the basic numerical analysis tasks. Moreover, the toolboxes of jLab can be easily implemented in Java and the corresponding clas...
متن کاملHow good are MatLab, Octave and Scilab for Computational Modelling?
In this article we test the accuracy of three platforms used in computational modelling: MatLab, Octave and Scilab, running on i386 architecture and three operating systems (Windows, Ubuntu and Mac OS). We submitted them to numerical tests using standard data sets and using the functions provided by each platform. A Monte Carlo study was conducted in some of the datasets in order to verify the ...
متن کامل